
 <!DOCTYPE HTML>
<html lang="zh-Hans">
<head>
  <meta charset="UTF-8">
  <!-- Global Site Tag (gtag.js) - Google Analytics -->
  <script async src="https://www.googletagmanager.com/gtag/js?id=UA-84488915-1"></script>
  <script>
  window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());

        gtag('config', 'UA-84488915-1');
  </script>
  
    <title>doc命令大全 | linyu blog</title>
    <meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no">
    
    <meta name="author" content="linyu">
    

    
    <meta name="description" content="一123456789101112131415161718192021222324252627282930313233343536373839404142net use \\ip\ipc$ &quot; &quot; /user:&quot; &quot; 建立IPC空链接 net use \\ip\ipc$ &quot;密码&quot; /user:&quot;用户名&quot; 建立IPC非空链接 net use h: \\ip\c$ &quot;密码&quot; /user:&quot;用户名&quot; 直接">
<meta name="keywords" content="doc命令">
<meta property="og:type" content="article">
<meta property="og:title" content="doc命令大全">
<meta property="og:url" content="http://bigsuperangel.github.io/2016/04/22/doc/index.html">
<meta property="og:site_name" content="linyu blog">
<meta property="og:description" content="一123456789101112131415161718192021222324252627282930313233343536373839404142net use \\ip\ipc$ &quot; &quot; /user:&quot; &quot; 建立IPC空链接 net use \\ip\ipc$ &quot;密码&quot; /user:&quot;用户名&quot; 建立IPC非空链接 net use h: \\ip\c$ &quot;密码&quot; /user:&quot;用户名&quot; 直接">
<meta property="og:locale" content="zh-Hans">
<meta property="og:updated_time" content="2017-08-01T09:29:10.393Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="doc命令大全">
<meta name="twitter:description" content="一123456789101112131415161718192021222324252627282930313233343536373839404142net use \\ip\ipc$ &quot; &quot; /user:&quot; &quot; 建立IPC空链接 net use \\ip\ipc$ &quot;密码&quot; /user:&quot;用户名&quot; 建立IPC非空链接 net use h: \\ip\c$ &quot;密码&quot; /user:&quot;用户名&quot; 直接">

    
    <link rel="alternative" href="/atom.xml" title="linyu blog" type="application/atom+xml">
    
    
    <link rel="icon" href="/img/favicon.ico">
    
    
    <link rel="apple-touch-icon" href="/img/jacman.jpg">
    <link rel="apple-touch-icon-precomposed" href="/img/jacman.jpg">
    
    <link rel="stylesheet" href="/css/style.css">
</head>

  <body>
    <header>
      
<div>
		
			<div id="imglogo">
				<a href="/"><img src="/img/logo.png" alt="linyu blog" title="linyu blog"/></a>
			</div>
			
			<div id="textlogo">
				<h1 class="site-name"><a href="/" title="linyu blog">linyu blog</a></h1>
				<h2 class="blog-motto">Where there is a will,there is a way</h2>
			</div>
			<div class="navbar"><a class="navbutton navmobile" href="#" title="菜單">
			</a></div>
			<nav class="animated">
				<ul>
					<ul>
					 
						<li><a href="/">Home</a></li>
					
						<li><a href="/archives">Archives</a></li>
					
						<li><a href="/tags/linux">linux</a></li>
					
						<li><a href="/tags/java">Java</a></li>
					
					<li>
 					
					<form class="search" action="//google.com/search" method="get" accept-charset="utf-8">
						<label>Search</label>
						<input type="search" id="search" name="q" autocomplete="off" maxlength="20" placeholder="搜索" />
						<input type="hidden" name="q" value="site:bigsuperangel.github.io">
					</form>
					
					</li>
				</ul>
			</nav>			
</div>
    </header>
    <div id="container">
      <div id="main" class="post" itemscope itemprop="blogPost">
  
	<article itemprop="articleBody"> 
		<header class="article-info clearfix">
  <h1 itemprop="name">
    
      <a href="/2016/04/22/doc/" title="doc命令大全" itemprop="url">doc命令大全</a>
  </h1>
  <p class="article-author">By
       
		<a href="/about" title="linyu" target="_blank" itemprop="author">linyu</a>
		
  <p class="article-time">
    <time datetime="2016-04-22T06:22:46.000Z" itemprop="datePublished"> 發表於 2016-04-22</time>
    
  </p>
</header>
	<div class="article-content">
		
		<div id="toc" class="toc-article">
			<strong class="toc-title">文章目錄</strong>
		
			<ol class="toc"><li class="toc-item toc-level-3"><a class="toc-link" href="#一"><span class="toc-number">1.</span> <span class="toc-text">一</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#二"><span class="toc-number">2.</span> <span class="toc-text">二</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#三"><span class="toc-number">3.</span> <span class="toc-text">三</span></a></li></ol>
		
		</div>
		
		<h3 id="一"><a href="#一" class="headerlink" title="一"></a>一</h3><figure class="highlight routeros"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div><div class="line">16</div><div class="line">17</div><div class="line">18</div><div class="line">19</div><div class="line">20</div><div class="line">21</div><div class="line">22</div><div class="line">23</div><div class="line">24</div><div class="line">25</div><div class="line">26</div><div class="line">27</div><div class="line">28</div><div class="line">29</div><div class="line">30</div><div class="line">31</div><div class="line">32</div><div class="line">33</div><div class="line">34</div><div class="line">35</div><div class="line">36</div><div class="line">37</div><div class="line">38</div><div class="line">39</div><div class="line">40</div><div class="line">41</div><div class="line">42</div></pre></td><td class="code"><pre><div class="line">net use \\ip\ipc$ <span class="string">" "</span> /user:<span class="string">" "</span> 建立IPC空链接 </div><div class="line">net use \\ip\ipc$ <span class="string">"密码"</span> /user:<span class="string">"用户名"</span> 建立IPC非空链接 </div><div class="line">net use h: \\ip\c$ <span class="string">"密码"</span> /user:<span class="string">"用户名"</span> 直接登陆后映射对方C：到本地为H: </div><div class="line">net use h: \\ip\c$ 登陆后映射对方C：到本地为H: </div><div class="line">net use \\ip\ipc$ /del 删除IPC链接 </div><div class="line">net use h: /del 删除映射对方到本地的为H:的映射 </div><div class="line">net<span class="built_in"> user </span>用户名　密码　/<span class="builtin-name">add</span> 建立用户 </div><div class="line">net<span class="built_in"> user </span>guest /active:yes 激活guest用户 </div><div class="line">net<span class="built_in"> user </span>查看有哪些用户 </div><div class="line">net<span class="built_in"> user </span>帐户名 查看帐户的属性 </div><div class="line">net localgroup administrators 用户名 /<span class="builtin-name">add</span> 把<span class="string">"用户"</span>添加到管理员中使其具有管理员权限,注意：administrator后加s用复数 </div><div class="line">net start 查看开启了哪些服务 </div><div class="line">net start 服务名　 开启服务；(如:net start telnet， net start schedule) </div><div class="line">net stop 服务名 停止某服务 </div><div class="line">net time \\目标ip 查看对方时间 </div><div class="line">net time \\目标ip /<span class="builtin-name">set</span> 设置本地计算机时间与<span class="string">"目标IP"</span>主机的时间同步,加上参数/<span class="literal">yes</span>可取消确认信息 </div><div class="line">net view 查看本地局域网内开启了哪些共享 </div><div class="line">net view \\ip 查看对方局域网内开启了哪些共享 </div><div class="line">net<span class="built_in"> config </span>显示系统网络设置 </div><div class="line">net logoff 断开连接的共享 </div><div class="line">net pause 服务名 暂停某服务 </div><div class="line">net send<span class="built_in"> ip </span><span class="string">"文本信息"</span> 向对方发信息 </div><div class="line">net ver 局域网内正在使用的网络连接类型和信息 </div><div class="line">net share 查看本地开启的共享 </div><div class="line">net share ipc$ 开启ipc$共享 </div><div class="line">net share ipc$ /del 删除ipc$共享 </div><div class="line">net share c$ /del 删除C：共享 </div><div class="line">net<span class="built_in"> user </span>guest 12345 用guest用户登陆后用将密码改为12345 </div><div class="line">net password 密码 更改系统登陆密码 </div><div class="line">netstat -a 查看开启了哪些端口,常用netstat -an </div><div class="line">netstat -n 查看端口的网络连接情况，常用netstat -an </div><div class="line">netstat -v 查看正在进行的工作 </div><div class="line">netstat -p 协议名 例：netstat -p tcq<span class="built_in">/ip </span>查看某协议使用情况（查看tcp/ip协议使用情况） </div><div class="line">netstat -s 查看正在使用的所有协议使用情况 </div><div class="line">nbtstat -A<span class="built_in"> ip </span>对方136到139其中一个端口开了的话，就可查看对方最近登陆的用户名（03前的为用户名）-注意：参数-A要大写 </div><div class="line">tracert -参数 ip(或计算机名) 跟踪路由（数据包），参数：<span class="string">"-w数字"</span>用于设置超时间隔。 </div><div class="line">ping ip(或域名) 向对方主机发送默认大小为32字节的数据，参数：<span class="string">"-l[空格]数据包大小"</span>；<span class="string">"-n发送数据次数"</span>；<span class="string">"-t"</span>指一直ping。 </div><div class="line">ping -t -l 65550<span class="built_in"> ip </span>死亡之ping(发送大于64K的文件并一直ping就成了死亡之ping) </div><div class="line">ipconfig (winipcfg) 用于windows NT及XP(windows 95 98)查看本地ip地址，ipconfig可用参数<span class="string">"/all"</span>显示全部配置信息 </div><div class="line">tlist -t 以树行列表显示进程(为系统的附加工具，默认是没有安装的，在安装目录的Support/tools文件夹内) </div><div class="line">kill -F 进程名 加-F参数后强制结束某进程(为系统的附加工具，默认是没有安装的，在安装目录的Support/tools文件夹内) </div><div class="line">del -F 文件名 加-F参数后就可删除只读文件,/AR、/AH、/AS、/AA分别表示删除只读、隐藏、系统、存档文件，/A-R、/A-H、/A-S、/A-A表示删除除只读、隐藏、系统、存档以外的文件。例如<span class="string">"DEL/AR *.*"</span>表示删除当前目录下所有只读文件，<span class="string">"DEL/A-S *.*"</span>表示删除当前目录下除系统文件以外的所有文件</div></pre></td></tr></table></figure>
<h3 id="二"><a href="#二" class="headerlink" title="二"></a>二</h3><figure class="highlight routeros"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div><div class="line">16</div><div class="line">17</div><div class="line">18</div><div class="line">19</div><div class="line">20</div><div class="line">21</div><div class="line">22</div><div class="line">23</div><div class="line">24</div><div class="line">25</div><div class="line">26</div><div class="line">27</div><div class="line">28</div><div class="line">29</div><div class="line">30</div><div class="line">31</div><div class="line">32</div><div class="line">33</div><div class="line">34</div><div class="line">35</div><div class="line">36</div><div class="line">37</div><div class="line">38</div><div class="line">39</div><div class="line">40</div><div class="line">41</div><div class="line">42</div><div class="line">43</div><div class="line">44</div></pre></td><td class="code"><pre><div class="line">del /S /Q 目录 或用：rmdir /s /Q 目录 /S删除目录及目录下的所有子目录和文件。同时使用参数/Q 可取消删除操作时的系统确认就直接删除。（二个命令作用相同） </div><div class="line">move 盘符\路径\要移动的文件名　存放移动文件的路径\移动后文件名 移动文件,用参数/y将取消确认移动目录存在相同文件的提示就直接覆盖 </div><div class="line">fc one.txt two.txt &gt; 3st.txt 对比二个文件并把不同之处输出到3st.txt文件中，<span class="string">"&gt; "</span>和<span class="string">"&gt; &gt;"</span> 是重定向命令 </div><div class="line">at id号 开启已注册的某个计划任务 </div><div class="line">at /delete 停止所有计划任务，用参数/<span class="literal">yes</span>则不需要确认就直接停止 </div><div class="line">at id号 /delete 停止某个已注册的计划任务 </div><div class="line">at 查看所有的计划任务 </div><div class="line">at \\ip time 程序名(或一个命令) /r 在某时间运行对方某程序并重新启动计算机 </div><div class="line">finger username @host 查看最近有哪些用户登陆 </div><div class="line">telnet<span class="built_in"> ip </span>端口 远和登陆服务器,默认端口为23 </div><div class="line">open<span class="built_in"> ip </span>连接到IP（属telnet登陆后的命令） </div><div class="line">telnet 在本机上直接键入telnet 将进入本机的telnet </div><div class="line">copy 路径\文件名1　路径\文件名2 /y 复制文件1到指定的目录为文件2，用参数/y就同时取消确认你要改写一份现存目录文件 </div><div class="line">copy c:\srv.exe \\ip\admin$ 复制本地c:\srv.exe到对方的admin下 </div><div class="line">cppy 1st.jpg/b+2st.txt/a 3st.jpg 将2st.txt的内容藏身到1st.jpg中生成3st.jpg新的文件，注：2st.txt文件头要空三排，参数：/b指二进制文件，/a指ASCLL格式文件 </div><div class="line">copy \\ip\admin$\svv.exe c:\ 或:copy\\ip\admin$\*.* 复制对方admini$共享下的srv.exe文件（所有文件）至本地C：</div><div class="line">xcopy 要复制的文件或目录树　目标地址\目录名 复制文件和目录树，用参数/Y将不提示覆盖相同文件 </div><div class="line">tftp -i 自己IP(用肉机作跳板时这用肉机IP) <span class="builtin-name">get</span> server.exe c:\server.exe 登陆后，将<span class="string">"IP"</span>的server.exe下载到目标主机c:\server.exe 参数：-i指以二进制模式传送，如传送exe文件时用，如不加-i 则以ASCII模式（传送文本文件模式）进行传送 </div><div class="line">tftp -i 对方IP　put c:\server.exe 登陆后，上传本地c:\server.exe至主机 </div><div class="line">ftp<span class="built_in"> ip </span>端口 用于上传文件至服务器或进行文件操作，默认端口为21。bin指用二进制方式传送（可执行文件进）；默认为ASCII格式传送(文本文件时) </div><div class="line">route <span class="builtin-name">print</span> 显示出IP路由，将主要显示网络地址Network addres，子网掩码Netmask，网关地址Gateway addres，接口地址Interface </div><div class="line">arp 查看和处理ARP缓存，ARP是名字解析的意思，负责把一个IP解析成一个物理性的MAC地址。arp -a将显示出全部信息 </div><div class="line">start 程序名或命令 /max 或/min 新开一个新窗口并最大化（最小化）运行某程序或命令 </div><div class="line">mem 查看cpu使用情况 </div><div class="line">attrib 文件名(目录名) 查看某文件（目录）的属性 </div><div class="line">attrib 文件名 -A -R -S -H 或 +A +R +S +H 去掉(添加)某文件的 存档，只读，系统，隐藏 属性；用＋则是添加为某属性 </div><div class="line">dir 查看文件，参数：/Q显示文件及目录属系统哪个用户，/T:C显示文件创建时间，/T:A显示文件上次被访问时间，/T:W上次被修改时间 </div><div class="line">date /t 、 time /t 使用此参数即<span class="string">"DATE/T"</span>、<span class="string">"TIME/T"</span>将只显示当前日期和时间，而不必输入新日期和时间 </div><div class="line"><span class="builtin-name">set</span> 指定环境变量名称=要指派给变量的字符 设置环境变量 </div><div class="line"><span class="builtin-name">set</span> 显示当前所有的环境变量 </div><div class="line"><span class="builtin-name">set</span> p(或其它字符) 显示出当前以字符p(或其它字符)开头的所有环境变量 </div><div class="line">pause 暂停批处理程序，并显示出：请按任意键继续<span class="built_in">..</span><span class="built_in">..</span> </div><div class="line"><span class="keyword">if</span> 在批处理程序中执行条件处理（更多说明见<span class="keyword">if</span>命令及变量） </div><div class="line">goto 标签 将cmd.exe导向到批处理程序中带标签的行（标签必须单独一行，且以冒号打头，例如：<span class="string">"：start"</span>标签）</div><div class="line">call 路径\批处理文件名 从批处理程序中调用另一个批处理程序 （更多说明见call /?） </div><div class="line"><span class="keyword">for</span> 对一组文件中的每一个文件执行某个特定命令（更多说明见<span class="keyword">for</span>命令及变量） </div><div class="line">echo on或off 打开或关闭echo，仅用echo不加参数则显示当前echo设置 </div><div class="line">echo 信息 在屏幕上显示出信息 </div><div class="line">echo 信息 &gt;&gt; pass.txt 将<span class="string">"信息"</span>保存到pass.txt文件中 </div><div class="line">findstr <span class="string">"Hello"</span> aa.txt 在aa.txt文件中寻找字符串hello </div><div class="line"><span class="builtin-name">find</span> 文件名 查找某文件 </div><div class="line">title 标题名字 更改CMD窗口标题名字 </div><div class="line">color 颜色值 设置cmd控制台前景和背景颜色；0＝黑、1＝蓝、2＝绿、3＝浅绿、4＝红、5＝紫、6＝黄、<span class="attribute">7</span>=白、8=灰、9=淡蓝、A＝淡绿、B=淡浅绿、C=淡红、D=淡紫、E=淡黄、F=亮白 </div><div class="line">prompt 名称 更改cmd.exe的显示的命令提示符(把C:\、D:\统一改为：EntSky\ )</div></pre></td></tr></table></figure>
<h3 id="三"><a href="#三" class="headerlink" title="三"></a>三</h3><figure class="highlight dos"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div><div class="line">16</div><div class="line">17</div><div class="line">18</div><div class="line">19</div><div class="line">20</div><div class="line">21</div><div class="line">22</div><div class="line">23</div></pre></td><td class="code"><pre><div class="line"><span class="built_in">ver</span> 在DOS窗口下显示版本信息 </div><div class="line">winver 弹出一个窗口显示版本信息（内存大小、系统版本、补丁版本、计算机名） </div><div class="line"><span class="built_in">format</span> 盘符 /<span class="built_in">FS</span>:类型 格式化磁盘,类型:FAT、FAT32、NTFS ,例：<span class="built_in">Format</span> D: /<span class="built_in">FS</span>:NTFS </div><div class="line"><span class="built_in">md</span>　目录名 创建目录 </div><div class="line"><span class="built_in">replace</span> 源文件　要替换文件的目录 替换文件 </div><div class="line"><span class="built_in">ren</span> 原文件名　新文件名 重命名文件名 </div><div class="line"><span class="built_in">tree</span> 以树形结构显示出目录，用参数-f 将列出第个文件夹中文件名称 </div><div class="line"><span class="built_in">type</span> 文件名 显示文本文件的内容 </div><div class="line"><span class="built_in">more</span> 文件名 逐屏显示输出文件 </div><div class="line"><span class="built_in">doskey</span> 要锁定的命令＝字符 </div><div class="line"><span class="built_in">doskey</span> 要解锁命令= 为DOS提供的锁定命令(编辑命令行，重新调用win2k命令，并创建宏)。如：锁定<span class="built_in">dir</span>命令：<span class="built_in">doskey</span> <span class="built_in">dir</span>=entsky (不能用<span class="built_in">doskey</span> <span class="built_in">dir</span>=<span class="built_in">dir</span>)；解锁：<span class="built_in">doskey</span> <span class="built_in">dir</span>= </div><div class="line">taskmgr 调出任务管理器 </div><div class="line"><span class="built_in">chkdsk</span> /F D: 检查磁盘D并显示状态报告；加参数/f并修复磁盘上的错误 </div><div class="line">tlntadmn telnt服务admn,键入tlntadmn选择<span class="number">3</span>，再选择<span class="number">8</span>,就可以更改telnet服务默认端口<span class="number">23</span>为其它任何端口 </div><div class="line"><span class="keyword">exit</span> 退出<span class="built_in">cmd</span>.exe程序或目前，用参数/B则是退出当前批处理脚本而不是<span class="built_in">cmd</span>.exe </div><div class="line"><span class="built_in">path</span> 路径\可执行文件的文件名 为可执行文件设置一个路径。 </div><div class="line"><span class="built_in">cmd</span> 启动一个win2K命令解释窗口。参数：/eff、/en 关闭、开启命令扩展；更我详细说明见<span class="built_in">cmd</span> /? </div><div class="line">regedit /s 注册表文件名 导入注册表；参数/S指安静模式导入，无任何提示； </div><div class="line">regedit /e 注册表文件名 导出注册表 </div><div class="line"><span class="built_in">cacls</span> 文件名　参数 显示或修改文件访问控制列表（ACL）——针对NTFS格式时。参数：/D 用户名:设定拒绝某用户访问；/P 用户名:perm 替换指定用户的访问权限；/G 用户名:perm 赋予指定用户访问权限；Perm 可以是: N 无，R 读取， W 写入， C 更改(写入)，F 完全控制；例：<span class="built_in">cacls</span> D:\test.txt /D pub 设定d:\test.txt拒绝pub用户访问。 </div><div class="line"><span class="built_in">cacls</span> 文件名 查看文件的访问用户权限列表 </div><div class="line"><span class="comment">REM 文本内容 在批处理文件中添加注解 </span></div><div class="line">netsh 查看或更改本地网络配置情况</div></pre></td></tr></table></figure>
  
	</div>
		<footer class="article-footer clearfix">
<div class="article-catetags">


  <div class="article-tags">
  
  <span></span> <a href="/tags/doc命令/">doc命令</a>
  </div>

</div>



	<div class="article-share" id="share">
	
	  <div data-url="http://bigsuperangel.github.io/2016/04/22/doc/" data-title="doc命令大全 | linyu blog" data-tsina="null" class="share clearfix">
	  </div>
	
	</div>


</footer>

   	       
	</article>
	
<nav class="article-nav clearfix">
 
 <div class="prev" >
 <a href="/2016/05/04/screen/" title="screen 使用教程">
  <strong>上一篇：</strong><br/>
  <span>
  screen 使用教程</span>
</a>
</div>


<div class="next">
<a href="/2016/04/22/winver/"  title="计算机运行命令全集 winver">
 <strong>下一篇：</strong><br/> 
 <span>计算机运行命令全集 winver
</span>
</a>
</div>

</nav>

	
<section id="comments" class="comment">
	<div class="ds-thread" data-thread-key="2016/04/22/doc/" data-title="doc命令大全" data-url="http://bigsuperangel.github.io/2016/04/22/doc/"></div>
</section>


</div>  
      <div class="openaside"><a class="navbutton" href="#" title="顯示側邊欄"></a></div>

  <div id="toc" class="toc-aside">
  <strong class="toc-title">文章目錄</strong>
 
 <ol class="toc"><li class="toc-item toc-level-3"><a class="toc-link" href="#一"><span class="toc-number">1.</span> <span class="toc-text">一</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#二"><span class="toc-number">2.</span> <span class="toc-text">二</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#三"><span class="toc-number">3.</span> <span class="toc-text">三</span></a></li></ol>
 
  </div>

<div id="asidepart">
<div class="closeaside"><a class="closebutton" href="#" title="隱藏側邊欄"></a></div>
<aside class="clearfix">

  
<div class="github-card">
<p class="asidetitle">Github 名片</p>
<div class="github-card" data-github="bigsuperangel" data-width="220" data-height="119" data-theme="medium">
<script type="text/javascript" src="//cdn.jsdelivr.net/github-cards/latest/widget.js" ></script>
</div>
  </div>



  

  
<div class="tagslist">
	<p class="asidetitle">標簽</p>
		<ul class="clearfix">
		
			
				<li><a href="/tags/linux/" title="linux">linux<sup>16</sup></a></li>
			
		
			
				<li><a href="/tags/ubuntu/" title="ubuntu">ubuntu<sup>11</sup></a></li>
			
		
			
				<li><a href="/tags/java/" title="java">java<sup>10</sup></a></li>
			
		
			
				<li><a href="/tags/maven/" title="maven">maven<sup>7</sup></a></li>
			
		
			
				<li><a href="/tags/mysql/" title="mysql">mysql<sup>4</sup></a></li>
			
		
			
				<li><a href="/tags/python/" title="python">python<sup>3</sup></a></li>
			
		
			
				<li><a href="/tags/tomcat/" title="tomcat">tomcat<sup>3</sup></a></li>
			
		
			
				<li><a href="/tags/alsamixer/" title="alsamixer">alsamixer<sup>2</sup></a></li>
			
		
			
				<li><a href="/tags/git/" title="git">git<sup>2</sup></a></li>
			
		
			
				<li><a href="/tags/hexo/" title="hexo">hexo<sup>2</sup></a></li>
			
		
			
				<li><a href="/tags/command/" title="command">command<sup>2</sup></a></li>
			
		
			
				<li><a href="/tags/eclipse/" title="eclipse">eclipse<sup>2</sup></a></li>
			
		
			
				<li><a href="/tags/doc命令/" title="doc命令">doc命令<sup>2</sup></a></li>
			
		
			
				<li><a href="/tags/database/" title="database">database<sup>2</sup></a></li>
			
		
			
				<li><a href="/tags/nodejs/" title="nodejs">nodejs<sup>2</sup></a></li>
			
		
			
				<li><a href="/tags/freenom/" title="freenom">freenom<sup>1</sup></a></li>
			
		
			
				<li><a href="/tags/gradle/" title="gradle">gradle<sup>1</sup></a></li>
			
		
			
				<li><a href="/tags/ignore/" title="ignore">ignore<sup>1</sup></a></li>
			
		
			
				<li><a href="/tags/security/" title="security">security<sup>1</sup></a></li>
			
		
			
				<li><a href="/tags/jitpack/" title="jitpack">jitpack<sup>1</sup></a></li>
			
		
		</ul>
</div>


  <div class="linkslist">
  <p class="asidetitle">友情鏈接</p>
    <ul>
        
          <li>
            
            	<a href="https://www.oschina.net" target="_blank" title="开源中国">开源中国</a>
            
          </li>
        
          <li>
            
            	<a href="http://stackoverflow.com" target="_blank" title="stackoverflow">stackoverflow</a>
            
          </li>
        
    </ul>
</div>

  


  <div class="rsspart">
	<a href="/atom.xml" target="_blank" title="rss">RSS 訂閱</a>
</div>

  <div class="weiboshow">
  <p class="asidetitle">新浪微博</p>
    <iframe width="100%" height="119" class="share_self"  frameborder="0" scrolling="no" src="http://widget.weibo.com/weiboshow/index.php?language=&width=0&height=119&fansRow=2&ptype=1&speed=0&skin=9&isTitle=1&noborder=1&isWeibo=0&isFans=0&uid=null&verifier=&dpc=1"></iframe>
</div>


</aside>
</div>
    </div>
    <footer><div id="footer" >
	
	<div class="line">
		<span></span>
		<div class="author"></div>
	</div>
	
	
	<section class="info">
		<p> 知行合一 <br/>
			This is my blog,believe it or not.</p>
	</section>
	 
	<div class="social-font" class="clearfix">
		
		
		<a href="https://github.com/bigsuperangel" target="_blank" class="icon-github" title="github"></a>
		
		
		
		
		
		
		
		
		
		<a href="mailto:bigsuperangel@gmail.com" target="_blank" class="icon-email" title="Email Me"></a>
		
	</div>
			
		

		<p class="copyright">
		Powered by <a href="http://hexo.io" target="_blank" title="hexo">hexo</a> and Theme by <a href="https://github.com/wuchong/jacman" target="_blank" title="Jacman">Jacman</a> © 2019 
		
		<a href="/about" target="_blank" title="linyu">linyu</a>
		
		
		</p>
</div>
</footer>
    <script src="/js/jquery-2.0.3.min.js"></script>
<script src="/js/jquery.imagesloaded.min.js"></script>
<script src="/js/gallery.js"></script>
<script src="/js/jquery.qrcode-0.12.0.min.js"></script>

<script type="text/javascript">
$(document).ready(function(){ 
  $('.navbar').click(function(){
    $('header nav').toggleClass('shownav');
  });
  var myWidth = 0;
  function getSize(){
    if( typeof( window.innerWidth ) == 'number' ) {
      myWidth = window.innerWidth;
    } else if( document.documentElement && document.documentElement.clientWidth) {
      myWidth = document.documentElement.clientWidth;
    };
  };
  var m = $('#main'),
      a = $('#asidepart'),
      c = $('.closeaside'),
      o = $('.openaside');
  c.click(function(){
    a.addClass('fadeOut').css('display', 'none');
    o.css('display', 'block').addClass('fadeIn');
    m.addClass('moveMain');
  });
  o.click(function(){
    o.css('display', 'none').removeClass('beforeFadeIn');
    a.css('display', 'block').removeClass('fadeOut').addClass('fadeIn');      
    m.removeClass('moveMain');
  });
  $(window).scroll(function(){
    o.css("top",Math.max(80,260-$(this).scrollTop()));
  });
  
  $(window).resize(function(){
    getSize(); 
    if (myWidth >= 1024) {
      $('header nav').removeClass('shownav');
    }else{
      m.removeClass('moveMain');
      a.css('display', 'block').removeClass('fadeOut');
      o.css('display', 'none');
      
      $('#toc.toc-aside').css('display', 'none');
        
    }
  });
});
</script>

<script type="text/javascript">
$(document).ready(function(){ 
  var ai = $('.article-content>iframe'),
      ae = $('.article-content>embed'),
      t  = $('#toc'),
      ta = $('#toc.toc-aside'),
      o  = $('.openaside'),
      c  = $('.closeaside');
  if(ai.length>0){
    ai.wrap('<div class="video-container" />');
  };
  if(ae.length>0){
   ae.wrap('<div class="video-container" />');
  };
  c.click(function(){
    ta.css('display', 'block').addClass('fadeIn');
  });
  o.click(function(){
    ta.css('display', 'none');
  });
  $(window).scroll(function(){
    ta.css("top",Math.max(140,320-$(this).scrollTop()));
  });
});
</script>


<script type="text/javascript">
$(document).ready(function(){ 
  var $this = $('.share'),
      url = $this.attr('data-url'),
      encodedUrl = encodeURIComponent(url),
      title = $this.attr('data-title'),
      tsina = $this.attr('data-tsina'),
      description = $this.attr('description');
  var html = [
  '<div class="hoverqrcode clearfix"></div>',
  '<a class="overlay" id="qrcode"></a>',
  '<a href="https://www.facebook.com/sharer.php?u=' + encodedUrl + '" class="article-share-facebook" target="_blank" title="Facebook"></a>',
  '<a href="https://twitter.com/intent/tweet?url=' + encodedUrl + '" class="article-share-twitter" target="_blank" title="Twitter"></a>',
  '<a href="#qrcode" class="article-share-qrcode" title="微信"></a>',
  '<a href="http://widget.renren.com/dialog/share?resourceUrl=' + encodedUrl + '&srcUrl=' + encodedUrl + '&title=' + title +'" class="article-share-renren" target="_blank" title="人人"></a>',
  '<a href="http://service.weibo.com/share/share.php?title='+title+'&url='+encodedUrl +'&ralateUid='+ tsina +'&searchPic=true&style=number' +'" class="article-share-weibo" target="_blank" title="微博"></a>',
  '<span title="Share to"></span>'
  ].join('');
  $this.append(html);

  $('.hoverqrcode').hide();

  var myWidth = 0;
  function updatehoverqrcode(){
    if( typeof( window.innerWidth ) == 'number' ) {
      myWidth = window.innerWidth;
    } else if( document.documentElement && document.documentElement.clientWidth) {
      myWidth = document.documentElement.clientWidth;
    };
    var qrsize = myWidth > 1024 ? 200:100;
    var options = {render: 'image', size: qrsize, fill: '#2ca6cb', text: url, radius: 0.5, quiet: 1};
    var p = $('.article-share-qrcode').position();
    $('.hoverqrcode').empty().css('width', qrsize).css('height', qrsize)
                          .css('left', p.left-qrsize/2+20).css('top', p.top-qrsize-10)
                          .qrcode(options);
  };
  $(window).resize(function(){
    $('.hoverqrcode').hide();
  });
  $('.article-share-qrcode').click(function(){
    updatehoverqrcode();
    $('.hoverqrcode').toggle();
  });
  $('.article-share-qrcode').hover(function(){}, function(){
      $('.hoverqrcode').hide();
  });
});   
</script>



<script type="text/javascript">
  var duoshuoQuery = {short_name:"linyu"};
  (function() {
    var ds = document.createElement('script');
    ds.type = 'text/javascript';ds.async = true;
    ds.src = '//static.duoshuo.com/embed.js';
    ds.charset = 'UTF-8';
    (document.getElementsByTagName('head')[0] 
    || document.getElementsByTagName('body')[0]).appendChild(ds);
  })();
</script> 







<link rel="stylesheet" href="/fancybox/jquery.fancybox.css" media="screen" type="text/css">
<script src="/fancybox/jquery.fancybox.pack.js"></script>
<script type="text/javascript">
$(document).ready(function(){ 
  $('.article-content').each(function(i){
    $(this).find('img').each(function(){
      if ($(this).parent().hasClass('fancybox')) return;
      var alt = this.alt;
      if (alt) $(this).after('<span class="caption">' + alt + '</span>');
      $(this).wrap('<a href="' + this.src + '" title="' + alt + '" class="fancybox"></a>');
    });
    $(this).find('.fancybox').each(function(){
      $(this).attr('rel', 'article' + i);
    });
  });
  if($.fancybox){
    $('.fancybox').fancybox();
  }
}); 
</script>



<!-- Analytics Begin -->

<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-84488915-1', 'bigsuperangel.github.io');  
ga('send', 'pageview');
</script>





<!-- Analytics End -->

<!-- Totop Begin -->

	<div id="totop">
	<a title="返回頂部"><img src="/img/scrollup.png"/></a>
	</div>
	<script src="/js/totop.js"></script>

<!-- Totop End -->

<!-- MathJax Begin -->
<!-- mathjax config similar to math.stackexchange -->


<!-- MathJax End -->

<!-- Tiny_search Begin -->

<!-- Tiny_search End -->

  </body>
</html>
